import axios from './axios'

export const formCheck = (param) => {
	return axios.request({
		url: '/account/login',
		// url:'/admin/acl/index/login',
		method: 'post',
		params : param
	})
} 

export const getMenuList = () => {
	return axios.request({
		url: '/menu/list',
		// url:'/admin/acl/index/login',
		method: 'get',
		// params : param
	})
} 

export const getUser = (param) => {
	return axios.request({
		url: '/baseInfo/list',
		// url:'/admin/acl/index/login',
		method: 'get',
		params : param
	})
} 

export const addUser = (param) => {
	return axios.request({
		url: '/baseInfo/addUser',
		// url:'/admin/acl/index/login',
		method: 'post',
		 data : param
	})
} 

export const editUser = (param) => {
	return axios.request({
		url: '/baseInfo/editUser',
		// url:'/admin/acl/index/login',
		method: 'post',
		 data : param
	})
} 

export const deleteUser = (param) => {
	return axios.request({
		url: '/baseInfo/deleteUser',
		// url:'/admin/acl/index/login',
		method: 'post',
		 params : param
	})
} 